<include file="Public:header2"/>

<div class="main">
    <div class="box_m">

        <include file="Public:main_left2"/>

        <div class="main_r">

            <div class="main_r_t">
                修改信息
            </div>
            <div class="main_r_c">
                <div class="form_ul">
                    <form action="{:U('Index/douser_edit')}" method="post" >
                        <input type="hidden" name="id" value="{$user_edit.id}">
                        <div class="form_li">
                            <div class="form_li_l">用户名：</div>
                            <div class="form_li_r">
                                <php>
                                    if($user_edit['id']>=1){
                                </php>
                                    {$user_edit.username}
                                <php>
                                    }else{
                                </php>
                                    <input type="text" class="input_text" id="username" name="username" value="{$user_edit.username}" />
                                <php>
                                    }
                                </php>
                            </div>
                            <div class="clear"></div>
                        </div>

                        <div class="form_li">
                            <div class="form_li_l">姓名：</div>
                            <div class="form_li_r">
                                <input type="text" class="input_text" id="name" name="name" value="{$user_edit.name}" />
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="form_li">
                            <div class="form_li_l">性别：</div>
                            <div class="form_li_r">
                                <input type="radio" value="1" class="input_radio" name="sex" checked> 男
                                <input type="radio" value="2" class="input_radio" name="sex" <eq name="user_edit.sex" value="2">checked</eq> />女
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="form_li">
                            <div class="form_li_l">年龄：</div>
                            <div class="form_li_r">
                                <input type="number" class="input_text" min="1" id="age" name="age" value="{$user_edit.age}" />
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="form_li">
                            <div class="form_li_l">地址：</div>
                            <div class="form_li_r">
                                <input type="text" class="input_text" id="address" name="address" value="{$user_edit.address}" />
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="form_li">
                            <div class="form_li_l">Email：</div>
                            <div class="form_li_r">
                                <input type="text" class="input_text" id="email" name="email" value="{$user_edit.email}" />
                            </div>
                            <div class="clear"></div>
                        </div>
                        <div class="form_li">
                            <div class="form_li_l">&nbsp;</div>
                            <div class="form_li_r">
                                <input type="submit" class="form_btn">
                            </div>
                            <div class="clear"></div>
                        </div>
                    </form>
                </div>
            </div>

        </div>


        <div class="clear"></div>
    </div>
</div>


<include file="Public:bottom"/>